package cn.yuanqiao.cqbc.inspection.domain;

import cn.yuanqiao.common.annotation.IdAnnotation;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;

/**
 * 巡检定时任务对象 YQ_INSPECTION
 * 
 * @author xy
 * @date 2024-06-20
 */
public class RegularInspections extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @IdAnnotation
    private Long id;

    /** 门类ID */
    @Excel(name = "门类ID")
    private Long categoryId;


    private String taskName;
    /** 四性检测code */
    @Excel(name = "四性检测code")
    private String schemeCode;

    /** 定时任务表达式 */
    @Excel(name = "定时任务表达式")
    private String timeDtask;

    /** 是否开启 */
    @Excel(name = "是否开启")
    private String status;

    /** 四性检测ID */
    @Excel(name = "四性检测ID")
    private Long schemeId;

    /** 租户编码 */
    @Excel(name = "租户编码")
    private String tenantCode;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setSchemeCode(String schemeCode) 
    {
        this.schemeCode = schemeCode;
    }

    public String getSchemeCode() 
    {
        return schemeCode;
    }
    public void setTimeDtask(String timeDtask) 
    {
        this.timeDtask = timeDtask;
    }

    public String getTimeDtask() 
    {
        return timeDtask;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSchemeId(Long schemeId) 
    {
        this.schemeId = schemeId;
    }

    public Long getSchemeId() 
    {
        return schemeId;
    }
    public void setTenantCode(String tenantCode) 
    {
        this.tenantCode = tenantCode;
    }

    public String getTenantCode() 
    {
        return tenantCode;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("schemeCode", getSchemeCode())
            .append("timeDtask", getTimeDtask())
            .append("status", getStatus())
            .append("schemeId", getSchemeId())
            .append("tenantCode", getTenantCode())
            .toString();
    }
}
